package com.example.restaurant.controller.form;

import com.example.restaurant.common.allenum.DeskStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AddDeskForm {

    @ApiModelProperty("门店ID")
    @NotNull
    private Integer storeId;

    @ApiModelProperty("桌名")
    @NotBlank
    private String deskName;

    @ApiModelProperty("状态")
    @NotNull
    private DeskStatus status;


}
